Skip to content

feat(ai): add CASTS and Light Memory components#748

Open
Appointat wants to merge 4 commits intoapache:masterfrom
Appointat:feat/lightmem
Open

feat(ai): add CASTS and Light Memory components#748
Appointat wants to merge 4 commits intoapache:masterfrom
Appointat:feat/lightmem

Conversation

@Appointat
Copy link
Contributor

@Appointat Appointat commented Feb 28, 2026

  • Introduced CastsRestClient for handling CASTS decision requests.
  • Added CastsVector class for CASTS traversal instructions.
  • Updated VectorType enum to include CastsVector.
  • Created LightMemConfig for configuration management of Light Memory.
  • Implemented LightMemRestClient for writing and recalling memory.
  • Developed MemoryClient to facilitate memory operations.
  • Added request and response classes for memory operations: MemoryWriteRequest, MemoryWriteResponse, MemoryRecallRequest, and MemoryRecallResponse.
  • Introduced AiEnvelope, AiError, AiHttpClient, AiResponse, AiScope, and AiTrace for protocol handling.

What changes were proposed in this pull request?

How was this PR tested?

  • Tests have Added for the changes
  • Production environment verified

- Introduced `CastsRestClient` for handling CASTS decision requests.
- Added `CastsVector` class for CASTS traversal instructions.
- Updated `VectorType` enum to include `CastsVector`.
- Created `LightMemConfig` for configuration management of Light Memory.
- Implemented `LightMemRestClient` for writing and recalling memory.
- Developed `MemoryClient` to facilitate memory operations.
- Added request and response classes for memory operations: `MemoryWriteRequest`, `MemoryWriteResponse`, `MemoryRecallRequest`, and `MemoryRecallResponse`.
- Introduced `AiEnvelope`, `AiError`, `AiHttpClient`, `AiResponse`, `AiScope`, and `AiTrace` for protocol handling.
@@ -0,0 +1,161 @@
#!/usr/bin/env bash
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The script also needs to include the Apache License header.

@@ -0,0 +1,157 @@
#!/usr/bin/env bash
set -euo pipefail
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto, The script also needs to include the Apache License header.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants